package com.caifu.pojo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 操作日志表
 * </p>
 *
 * @author szt
 * @since 2021-03-09
 */
public class SysRecordType extends Model<SysRecordType> {

    private static final long serialVersionUID = 1L;

    /**
     * 类型代码
     */
    private String code;

    /**
     * 类型名字
     */
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    protected Serializable pkVal() {
        return this.code;
    }

    @Override
    public String toString() {
        return "SysRecordType{" +
        "code=" + code +
        ", name=" + name +
        "}";
    }
}
